#ifndef BATCHENHANCEPANEL_H
#define BATCHENHANCEPANEL_H

#include <QWidget>
#include <QSlider>
#include <QCheckBox>
#include <QComboBox>
#include <QFormLayout>
#include "enhanceparams.h"

class BatchEnhancePanel : public QWidget
{
    Q_OBJECT

public:
    explicit BatchEnhancePanel(QWidget* parent = nullptr);
    EnhanceParams getParameters() const;
    void setParameters(const EnhanceParams& params);
    void resetParameters();

public slots:
    void retranslateUi();

private slots:
    void applyPreset(const QString& presetName);

private:
    void setupUI();
    void createConnections();

    QSlider* m_brightnessSlider;
    QSlider* m_contrastSlider;
    QSlider* m_sharpnessSlider;
    QCheckBox* m_denoiseCheck;
    QCheckBox* m_autoRotateCheck;
    QComboBox* m_colorModeCombo;
    QComboBox* m_presetCombo;
};

#endif // BATCHENHANCEPANEL_H 